<?php

return array(
    'default' => 'appLog',
    'appLog' => array(
        'default' => true,
        'threshold' => 'debug',
        'tag' => 'wgxfrm.app',
        'record' => '\\PhpYes\\Modules\\Log\\LogRecord',
        'backend' => array(
            array(
                'class' => '\\PhpYes\\Modules\\Log\\Backend\\BackendFile',
                'path' => BASE_DIR . '/var/log/app.log',
                'rotate' => 'day',
            ),
            array(
                'class' => '\\PhpYes\\Modules\\Log\\Backend\\BackendErrorLog',
            ),
            array(
                'class' => '\\PhpYes\\Modules\\Log\\Backend\\BackendSyslog',
            ),
            array(
                'class' => '\\PhpYes\\Modules\\Log\\Backend\\BackendFluentd',
                'host' => 'unix:///var/run/td-agent/td-agent.sock',
            ),
        ),
    ),
    'statisticLog' => array(
        'threshold' => 'debug',
        'tag' => 'wgxfrm.statistic',
        'record' => '\\PhpYes\\Modules\\Log\\XxxRecord',
        'backend' => array(
            array(
                'class' => '\\PhpYes\\Modules\\Log\\Backend\\BackendFile',
                'path' => BASE_DIR . '/var/log/statistic.log',
                'rotate' => 'day',
            ),
            array(
                'class' => '\\PhpYes\\Modules\\Log\\Backend\\BackendErrorLog',
            ),
            array(
                'class' => '\\PhpYes\\Modules\\Log\\Backend\\BackendSyslog',
            ),
            array(
                'class' => '\\PhpYes\\Modules\\Log\\Backend\\BackendFluentd',
                'host' => 'unix:///var/run/td-agent/td-agent.sock',
            ),
        ),
    ),
);